// pages/help/help.js
const app = getApp()
Page({
  data: {
    list:'',
  },
  onLoad: function (options) {
    this.getlist()
  },
  getlist() {
    let _that = this;
    wx.request({   //传后台
      url: app.globalData.url + '/jxb/oneself/getHelpcenter',
      method: 'post',
      header: {
        'content-type': 'application/x-www-form-urlencoded'
      },
      data: {
        token: wx.getStorageSync('token'),
      },
      success: function (res) {
        console.log(res.data.data)
        _that.setData({
          list: res.data.data
        });
      },

    })
  },
  back(){
    wx.navigateBack();
  }


})